<?php

namespace app\common\model;

use think\Model;

class GoodsSpec extends Model
{
    protected $name = 'goods_spec';
    
    protected $autoWriteTimestamp = 'int';
    protected $createTime = 'createtime';
    protected $updateTime = 'updatetime';

    public function goods()
    {
        return $this->belongsTo('Goods', 'goods_id');
    }
}